package com.spot.data.test.demo.mapper;

import com.spot.data.test.demo.dto.ComExpiryDto;
import com.spot.data.test.demo.dto.StatisticsComDto;
import com.spot.data.test.demo.vo.CommonsSearchVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2020/6/1
 * @since 1.2
 */
@Mapper
public interface ComExpiryMapper {

    int save(@Param(value = "model") ComExpiryDto dto);

    Long count(@Param(value = "searchVo") CommonsSearchVo searchVo);

    StatisticsComDto getDays(@Param(value = "searchVo") CommonsSearchVo searchVo);

    ComExpiryDto getMaxId();
}
